home *** CD-ROM | disk | FTP | other *** search
- global nextSymNum, rightChoice, choiceName, symName, totalDone, animalDone, beverageDone, birdDone, boatDone, danceDone, fishDone, flagDone, flowerDone, fossilDone, insectDone, mottoDone, sealDone, shellDone, treeDone
-
- on exitFrame me
- if totalDone < 14 then
- if totalDone = 13 then
- sprite(13).visible = 0
- sprite(14).visible = 1
- else
- sprite(13).visible = 1
- sprite(14).visible = 0
- end if
- nextSymNum = random(14)
- case nextSymNum of
- 1:
- if animalDone <> 1 then
- sprite(41).visible = 1
- rightChoice = 21
- choiceName = "AnimalSuck"
- symName = "Animal"
- else
- go(the frame)
- end if
- 2:
- if beverageDone <> 1 then
- sprite(42).visible = 1
- rightChoice = 22
- choiceName = "BeverageSuck"
- symName = "Beverage"
- else
- go(the frame)
- end if
- 3:
- if birdDone <> 1 then
- sprite(43).visible = 1
- rightChoice = 23
- choiceName = "BirdSuck"
- symName = "Bird"
- else
- go(the frame)
- end if
- 4:
- if boatDone <> 1 then
- sprite(44).visible = 1
- rightChoice = 24
- choiceName = "BoatSuck"
- symName = "Boat"
- else
- go(the frame)
- end if
- 5:
- if danceDone <> 1 then
- sprite(45).visible = 1
- rightChoice = 25
- choiceName = "DanceSuck"
- symName = "Dance"
- else
- go(the frame)
- end if
- 6:
- if fishDone <> 1 then
- sprite(46).visible = 1
- rightChoice = 26
- choiceName = "FishSuck"
- symName = "Fish"
- else
- go(the frame)
- end if
- 7:
- if flagDone <> 1 then
- sprite(47).visible = 1
- rightChoice = 27
- choiceName = "FlagSuck"
- symName = "Flag"
- else
- go(the frame)
- end if
- 8:
- if flowerDone <> 1 then
- sprite(48).visible = 1
- rightChoice = 28
- choiceName = "FlowerSuck"
- symName = "Flower"
- else
- go(the frame)
- end if
- 9:
- if fossilDone <> 1 then
- sprite(49).visible = 1
- rightChoice = 29
- choiceName = "FossilSuck"
- symName = "Fossil"
- else
- go(the frame)
- end if
- 10:
- if insectDone <> 1 then
- sprite(50).visible = 1
- rightChoice = 30
- choiceName = "InsectSuck"
- symName = "Insect"
- else
- go(the frame)
- end if
- 11:
- if mottoDone <> 1 then
- sprite(51).visible = 1
- rightChoice = 31
- choiceName = "MottoSuck"
- symName = "Motto"
- else
- go(the frame)
- end if
- 12:
- if sealDone <> 1 then
- sprite(52).visible = 1
- rightChoice = 32
- choiceName = "SealSuck"
- symName = "Seal"
- else
- go(the frame)
- end if
- 13:
- if shellDone <> 1 then
- sprite(53).visible = 1
- rightChoice = 33
- choiceName = "ShellSuck"
- symName = "Shell"
- else
- go(the frame)
- end if
- 14:
- if treeDone <> 1 then
- sprite(54).visible = 1
- rightChoice = 34
- choiceName = "TreeSuck"
- symName = "Tree"
- else
- go(the frame)
- end if
- end case
- else
- go(marker("Done"))
- end if
- end
-